import { post } from '../../../request.js'

// 查询数据源列表
export function listOutApp(query) {
    return post({
        url: '/tool/pserv/outApp/pageList',
        params: query
    })
}

// 新增数据源
export const addOutApp = params => {
    return post({
        url: '/tool/pserv/outApp/save',
        params
    })
}

// 修改数据源
export const updateOutApp = params => {
    return post({
        url: '/tool/pserv/outApp/update',
        params
    })
}

// 删除数据源
export const delOutApp = params => {
    return post({
        url: '/tool/pserv/outApp/delete',
        params
    })
}
